package com.edu.exam.enums.grading.export;
import com.edu.exam.enums.core.BaseEnum;

public enum ExportType implements BaseEnum {
    PDF("PDF", "PDF格式"),
    EXCEL("EXCEL", "Excel格式"),
    CSV("CSV", "CSV格式"),
    XML("XML", "XML格式"),
    JSON("JSON", "JSON格式"),
    WORD("WORD", "Word格式"),
    HTML("HTML", "HTML格式"),
    TEXT("TEXT", "文本格式");

    private final String code;
    private final String description;

    ExportType(String code, String description) {
        this.code = code;
        this.description = description;
    }

    @Override
    public String getCode() { return code; }
    @Override
    public String getDescription() { return description; }
}
